<?php
/**
 * 错误设置
 *
 */

namespace App\ConstDir;

class ErrorConst
{
    const BASE_ERROR = 200;
    const BASE_ERROR_MSG = '错误';

    const SUCCESS_CODE = 0;
    const SUCCESS_CODE_MSG = 'success';
    //参数缺少
    const ERROR_CODE = 100;
    const ERROR_CODE_MSG = '缺少参数';
    //校验错误
    const CHECK_ERROR_CODE = 101;
    const CHECK_ERROR_CODE_MSG = '校验错误';
    //解析错误
    const RESOLVE_ERROR_CODE = 102;
    const RESOLVE_ERROR_CODE_MSG = '解析错误';
    //数据库写入错误
    const RESOLVE_DATA_CODE = 103;
    const RESOLVE_DATA_CODE_MSG = '数据库写入错误';

    const  PHP_OVER = 110;
    const  PHP_OVER_MSG = '系统错误';

    //再次登录
    const NOT_LOGIN = 900;
    const NOT_LOGIN_MSG = '未登录';

}
